package com.ruoyi.task.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

@Data
public class CameraInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 机构编号*/
    @Excel(name = "机构编号")
    private String deptCode;

    /** 机构编号*/
    @Excel(name = "机构名称")
    private String deptName;

    /** 摄像头编号 */
    @Excel(name = "摄像头编号")
    private String cameraId;

    /** 摄像头名称 */
    @Excel(name = "摄像头名称")
    private String cameraName;

    /** 摄像头图片 */
    @Excel(name = "摄像头图片")
    private String cameraImage;

    /** 摄像头图片时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "图片日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String imageDate;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /**
     * NVR 编号
     */
    @Excel(name = "NVR编号")
    private String nvrId;

    /**
     * NVR IP
     */
    @Excel(name = "NVR IP")
    private String nvrIp;


    /**
     * 通道编号 0-31
     */
    @Excel(name = "通道编号")
    private String cameraChannel;
}
